package com.lin.generator.model;

import java.util.List;

/**
 * 表
 *
 * @author 猴哥
 */
public class Table {
	/**
	 * 数据库表名
	 */
	private String tableName;

	/**
	 * 小驼峰
	 */
	private String lowerCamel;

	/**
	 * 大驼峰
	 */
	private String upperCamel;

	/**
	 * 表备注
	 */
	private String tableComment;

	/**
	 * 所有字段
	 */
	private List<Field> fieldList;

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getLowerCamel() {
		return lowerCamel;
	}

	public void setLowerCamel(String lowerCamel) {
		this.lowerCamel = lowerCamel;
	}

	public String getUpperCamel() {
		return upperCamel;
	}

	public void setUpperCamel(String upperCamel) {
		this.upperCamel = upperCamel;
	}

	public String getTableComment() {
		return tableComment;
	}

	public void setTableComment(String tableComment) {
		this.tableComment = tableComment;
	}

	public List<Field> getFieldList() {
		return fieldList;
	}

	public void setFieldList(List<Field> fieldList) {
		this.fieldList = fieldList;
	}

	@Override
	public String toString() {
		return "Table{" +
				"tableName='" + tableName + '\'' +
				", lowerCamel='" + lowerCamel + '\'' +
				", upperCamel='" + upperCamel + '\'' +
				", tableComment='" + tableComment + '\'' +
				", fieldList=" + fieldList +
				'}';
	}
}
